<admintpl file="_print_style"/>
<body style="min-width: 800px;">
	<div class="wrap">
		<table class="table table-hover table-bordered table-list" border="1">
			<thead>
				<tr>
					<th width="3%">ID</th>
					<th width="3%">姓名</th>
					<th width="3%">工号</th>
					<th width="5%">部门</th>
					<th width="5%">日期</th>
					<th width="5%">星期</th>
					<th width="8%">上班打卡</th>
					<th width="8%">下班打卡</th>
					<th width="5%">迟到分钟</th>
					<th width="5%">早退分钟</th>
					<th width="5%">加班分钟</th>
					<th width="5%">有效出勤</th>
					<th width="5%">实际出勤</th>
					<th width="5%">准时在岗</th>
					<th width="5%">缺时分钟</th>
					<th width="20%">请假小时</th>
				</tr>
			</thead>
			<foreach name="list" item="vo">
			<tr>
				<td>{$vo.id}</td>
				<td>{$vo.name}</td>
				<td>&nbsp;{$vo.sn}</td>
				<td>{$vo.dep_name}</td>
				<td>{$vo.date}</td>
				<td>{$vo.date_str}</td>
				<td>{$vo.duty_on}</td>
				<td>{$vo.duty_off}</td>
				<td>{$vo.stu_late|default=0}</td>
				<td>{$vo.stu_leave_early|default=0}</td>
				<td>{$vo.overtime|default=0}</td>
				<td>{$vo.work_effect}</td>
				<td>{$vo.work_actual}</td>
				<td>{$vo.work_effect_918}</td>
				<td>{$vo[stu_absent] >= 0 && !empty($vo[stu_absent]) ? $vo[stu_absent] : 0 }</td>
				<td style='text-align: left;'>
					<foreach name='allleave' item='leave' key='label'>
						<notempty name='vo[$label]'>{$leave}:{:get_hour($vo[$label])}</notempty>
					</foreach>

				</td>
			</tr>
			</foreach>
		</table>
	</div>
</body>
</html>